home *** CD-ROM | disk | FTP | other *** search
/ Aminet 5 / Aminet 5 - March 1995.iso / Aminet / dev / misc / SetRev.readme < prev    next >
Encoding:
Text File  |  1994-12-19  |  1.4 KB  |  41 lines

  1. Short:    BumpRev-like utility
  2. Author:   wiedmann@uni-tuebingen.de
  3. Uploader: wiedmann@uni-tuebingen.de
  4. Type:     dev/misc
  5.  
  6. This is a small little hack very similar to Commodore's BumpRev
  7. or Dice's UpRev. The difference is that SetRev does not need a
  8. special _rev.h file, instead it may scan a given source file
  9. for the current version and revision and modify it. In short:
  10. BumpRev for those who don't like too much different files.
  11.  
  12.  
  13.  
  14. Usage: SetRev PROJECT/A,VERSION/N,FILE/K
  15.  
  16. The given FILE (default: PROJECT_rev.h) will be searched for
  17. version and revision definitions and bumped to the next
  18. revision number.
  19.  
  20. Example: SetRev SetRev FILE SetRev.c
  21.  
  22. will scan the file SetRev.c for the following definitions and
  23. bumpt the current revision number:
  24.     #define VERSION       1
  25.     #define REVISION       1
  26.     #define DATE    "30.10.94"
  27.     #define VERS    "SetRev 1.1"
  28.     #define VSTRING "SetRev 1.1 (30.10.94)"
  29.     #define VERSTAG "\0$VER: SetRev 1.1 (30.10.94)"
  30.  
  31.  
  32. ============================= Archive contents =============================
  33.  
  34. Original  Packed Ratio    Date     Time    Name
  35. -------- ------- ----- --------- --------  -------------
  36.    15596    9220 40.8% 30-Oct-94 18:03:38  SetRev
  37.     8245    2324 71.8% 30-Oct-94 18:03:16  SetRev.c
  38.      950     488 48.6% 30-Oct-94 18:06:14  SetRev.readme
  39. -------- ------- ----- --------- --------
  40.    24791   12032 51.4% 31-Oct-94 15:51:32   3 files
  41.